package com.ikas.ai.server.module.system.model.vo;


import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

public class RoleAuthVo {

    @NotNull(message = "角色id不能为空")
    private Long roleId;

    @NotEmpty(message = "权限列表不能为空")
    private List<Integer> menuIdList;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Integer> getMenuIdList() {
        return menuIdList;
    }

    public void setMenuIdList(List<Integer> menuIdList) {
        this.menuIdList = menuIdList;
    }
}
